import Vue from 'vue'
import App from './App.vue'

import store from './store'

import '@/styles/reset.scss'

import '@/assets/icon/iconfont.css'

import router from '@/router/index.js'

import { Icon, Toast, Sticky, Swipe, SwipeItem, Lazyload, CountDown, Tab, Tabs } from 'vant'

Vue.use(Icon)
  .use(Toast)
  .use(Sticky)
  .use(Swipe)
  .use(SwipeItem)
  .use(Lazyload)
  .use(CountDown)
  .use(Tab)
  .use(Tabs)

Vue.config.productionTip = false

import '@/mock'

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
